export const mixin = {
    methods: {
        showName() {
            alert('@' + this.name);
        }
    },
    mounted() {
        console.log('Component mounted, 你好啊!');
    }
}

export const mixin2 = {
    data() {
        return {
            x:100,
            y:100
        }
    }
}